package com.shxc.smarttrade.login.activity;

import android.view.View;

import com.shxc.smarttrade.R;
import com.shxc.smarttrade.base.NoActionBarBaseActivity;

import org.xchris.view.annotation.ContentView;
import org.xchris.view.annotation.Event;

/**
 * 登录入口
 */
@ContentView(R.layout.activity_login_index)
public class LoginIndexActivity extends NoActionBarBaseActivity {

    @Event({R.id.into_textview, R.id.close_imageview})
    private void onClickk(View view) {

        switch (view.getId()) {
            case R.id.into_textview:
                //跳转
                JumpTo(LoginHomeActivity.class);
//                finish();
                break;
            case R.id.close_imageview:
                //关闭
                finish();
                break;
        }
    }
}
